package com.example.common.utils

object ColdStartUtils {

    private var startTime:Long = 0L

    /**
     * 开始记录冷气动耗时
     */
    fun startRecodeTime(){
        startTime = System.currentTimeMillis()
    }

    /**
     * 结束记录冷启动耗时
     */
    fun endRecodeTime():Long{
        return System.currentTimeMillis() - startTime
    }

}